import request from '@/utils/request';
let myUrl = "/flowable/my";

// 通过流程id获取执行信息
export function getBpmnStartId(processDefinitionId) {
    return request({
        url: myUrl + '/getBpmnStartId',
        method: 'get',
        params: {
            processDefinitionId
        }
    })
}

// 查询所有的流程
export function getAllProcess(query) {
    return request({
        url: myUrl + '/getAllProcess',
        method: 'get',
        params: query
    })
}